import request from '@/utils/request'
// import {ref} from "vue";
// 获取订单信息
export const getCheckInfoAPI = (memberId, cartItems) => {
  return request({
    url: '/mall-order/checkout/info',
    method: 'POST',
    data: {
      memberId,
      items: cartItems // 包含skuId, count, price等字段
    }
  })
}